Iterate
Description​
This method calls the Proc
procedure for each existing entity, including block references (INSERTs) of any nesting level. In other words, this procedure converts DXF/DWG tree structure to a linear sequence of entities, similar to Windows metafile. It is a basis for different operations such as drawing or import of CAD files.
FinishProc
has to be called after the Proc
function if it is not nil. By default FinishProc is nil. It serves for auxiliary needs.
Before calling Iterate
necessary to set the Params.Matrix
field; it is initial value of coordinate transformation matrix. This matrix is automatically changed on enter to block reference and restored on exit from it. Params.Additional
is user-defined; all other fields of Params
are initialized by Iterate
.
As rule, the Params
records are the part of object wich has Proc
as its own method.
This property has been left for compatibility with previous versions of the library. We recommend using the following way instead of it:
Converter.Layouts[I].Iterate (I=0..Converter.LayoutsCount-1)